<?php

class Gallery extends MX_Controller
{
	function __construct()
	{
		parent::__construct();
	}

	function index()
	{
		$islogin = $this->session->userdata('is_logged_in');
		if($islogin){
			$this->load->view('includes/header');
			$this->load->view('gallery_page');
			$this->load->view('includes/footer');
		}else{
			$this->load->view('site/front_page');
		}

	}
}